package com.kalvan.commons.vo.system;

import com.kalvan.commons.db.system.model.Menu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Set;


@Getter
@Setter
public class UserInfoVO {

    @ApiModelProperty(value = "用户")
    private UserVO user;

    @ApiModelProperty(value = "权限树")
    private List<Menu> permissions;

    @ApiModelProperty(value = "权限")
    private Set<String> code;
}
